package cn.stylefeng.guns.modular.tcpconnection.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import kotlin.jvm.Transient;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


/**
 * 实例类
 *
 * @author gummybear
 * @date 2023/06/29 19:15
 */
@TableName("device_connect")
@Data
//@EqualsAndHashCode(callSuper = true)
public class DeviceConnect {

    /**
     * 连接类型
     */
    @TableId(value = "link_type", type = IdType.ASSIGN_ID)
    @ChineseDescription("连接类型")
    private String linkType;

    /**
     * 设备名称
     */
    @TableField("device_name")
    @ChineseDescription("设备名称")
    private String deviceName;

    /**
     * 设备类型
     */
    @TableField("device_type")
    @ChineseDescription("设备类型")
    private String deviceType;

    /**
     * 设备ID
     */
    @TableField("device_ip")
    @ChineseDescription("设备IP")
    private String deviceIp;

    /**
     * 设备状态
     */
    @TableField("device_status")
    @ChineseDescription("设备状态")
    private String deviceStatus;


}
